package com.gzxx.domain.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author MAX
 * @date 2020/8/13 11:04 上午
 * 排序字段实体类
 */
@Data
@ApiModel(value = "分页查询实体", description = "分页查询实体")
public class OrderItem implements Serializable {

    private static final long serialVersionUID = -7416698837952260268L;

    @ApiModelProperty(value = "排序字段名", example = "name")
    private String colName;

    @ApiModelProperty(value = "排序方式", example = "asc/desc")
    private String sort;
}
